<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class uhu_request_config</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class uhu_request_config</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
											<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Various helper methods for use with handling each script request</p>
		<p class="notes">
			Located in <a class="field" href="_uhu---request_config.php.html">/uhu/request_config.php</a> (line <span class="field">13</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>


	<a name="sec-const-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constant Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Constants</span> (<a href="#sec-consts">details</a>)
												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<div class="const-summary">
								<div class="const-title">
					<img src="../../media/images/Constant.png" alt=" " />
					<a href="#GZIP_COMPRESSION_LEVEL" title="details" class="const-name">GZIP_COMPRESSION_LEVEL</a> = 					<span class="var-type"> 9</span>

				</div>
							</div>
		</div>
	</div>

	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
					</div>
		<div class="info-box-body">
			<div class="var-summary">
																				<div class="var-title">
					static <span class="var-type"><a href="../../UHU/HTTP/uhu_request_config.html">uhu_request_config</a>|null</span>
					<a href="#$instance" title="details" class="var-name">$instance</a>
				</div>
																				<div class="var-title">
					<span class="var-type">bool|null</span>
					<a href="#$gzip" title="details" class="var-name">$gzip</a>
				</div>
																			</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																				<div class="method-definition">
					static 						<span class="method-result">void</span>
										<a href="#getInstance" title="details" class="method-name">getInstance</a>
										()
									</div>
																																
												<div class="method-definition">
											<span class="method-result">uhu_request_config</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
										()
									</div>
																								<div class="method-definition">
											<span class="method-result">bool</span>
										<a href="#gzip" title="details" class="method-name">gzip</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#HTTP_ACCEPT" title="details" class="method-name">HTTP_ACCEPT</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#If_Modified_Since" title="details" class="method-name">If_Modified_Since</a>
										()
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$instance" id="$instance"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			static <span class="var-type"><a href="../../UHU/HTTP/uhu_request_config.html">uhu_request_config</a>|null</span>
			<span class="var-name">$instance</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">19</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> holds an instance of uhu_request_config</li>
				<li><span class="field">see:</span> <a href="http://uk.php.net/singleton">http://uk.php.net/singleton</a></li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../../UHU/HTTP/uhu_request_config.html#methodgetInstance">uhu_request_config::getInstance()</a></li>
			</ul>
	
	
		
		

</div>
<a name="var$gzip" id="$gzip"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">bool|null</span>
			<span class="var-name">$gzip</span>
			 = <span class="var-default"> null</span>			(line <span class="line-number">27</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> TRUE if the user agent supports Gzip compression, FALSE otherwise</li>
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">usedby:</span> <a href="../../UHU/HTTP/uhu_request_config.html#methodgzip">uhu_request_config::gzip()</a></li>
				<li><span class="field">usedby:</span> <a href="../../UHU/HTTP/uhu_request_config.html#method__construct">uhu_request_config::__construct()</a></li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																			<a href="#sec-const-summary">Constants</a> (<a href="#sec-consts">details</a>)
							
										<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodgetInstance" id="getInstance"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">static method getInstance</span> (line <span class="line-number">40</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">An implementation of the singleton pattern</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../../UHU/HTTP/uhu_request_config.html#var$instance">uhu_request_config::$instance</a></li>
			</ul>
	
	<div class="method-signature">
	    static
		<span class="method-result">void</span>
		<span class="method-name">
			getInstance
		</span>
				()
			</div>
	
		
			
	</div>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">32</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">An implementation of the singleton pattern</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
				<li><span class="field">uses:</span> <a href="../../UHU/HTTP/uhu_request_config.html#var$gzip">uhu_request_config::$gzip</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">uhu_request_config</span>
		<span class="method-name">
			__construct
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodgzip" id="gzip"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">gzip</span> (line <span class="line-number">52</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">return:</span> TRUE if the user agent supports Gzip compression, FALSE otherwise</li>
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../../UHU/HTTP/uhu_request_config.html#var$gzip">uhu_request_config::$gzip</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">bool</span>
		<span class="method-name">
			gzip
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodHTTP_ACCEPT" id="HTTP_ACCEPT"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">HTTP_ACCEPT</span> (line <span class="line-number">59</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
				<li><span class="field">uses:</span> <a href="../../UHU/HTTP/uhu_HTTP_ACCEPT.html">uhu_HTTP_ACCEPT</a></li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			HTTP_ACCEPT
		</span>
				()
			</div>
	
		
			
	</div>
<a name="methodIf_Modified_Since" id="If_Modified_Since"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">If_Modified_Since</span> (line <span class="line-number">81</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Serves to get around some oddities with HTTP_IF_MODIFIED_SINCE in the $_SERVER superglobal returning an empty string</p>
<p class="description"><p>return string a wrapper to $_SERVER['HTTP_IF_MODIFIED_SINCE']</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			If_Modified_Since
		</span>
				()
			</div>
	
		
			
	</div>
						
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
														| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="constGZIP_COMPRESSION_LEVEL" id="GZIP_COMPRESSION_LEVEL"><!-- --></A>
<div class="evenrow">

	<div class="const-header">
		<img src="../../media/images/Variable.png" />
		<span class="const-title">
			<span class="const-name">GZIP_COMPRESSION_LEVEL</span>
			 = <span class="const-default"> 9</span>
			(line <span class="line-number">23</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">integer the compression level to use with Gzip. Will probably be moved to <a href="../../UHU/UHU_Config/uhu_install_config.html">uhu_install_config</a></p>
	
	
</div>
						
		</div>
	</div>

	<p class="notes" id="credit">
		Documentation generated on Tue, 13 Jan 2009 23:22:14 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</div></body>
</html>